import type { ComponentPublicInstance } from "vue";

export const battleScrollProps = {
  isMobile: {
    type: Boolean,
    default: false,
  },
};

export const battleScrollEmits = {
  end: () => true,
};

export type BattleScrollExpose = {
  start: (result: API.Battles.BattleDetailResponse) => void;
};

export type BattleScrollInstance = ComponentPublicInstance<
  BattleScrollExpose,
  void
>;
